package com.bw.service.impl;

import com.bw.entity.User;
import com.bw.mapper.UserMapper;
import com.bw.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;



    @Override
    public User selectByName(String username) {
        return userMapper.selectByName(username);
    }
}
